package com.macro.mall.mapper;

import com.macro.mall.model.PmProdSkuInst;
import com.macro.mall.model.PmProdSkuInstExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PmProdSkuInstMapper {
    long countByExample(PmProdSkuInstExample example);

    int deleteByExample(PmProdSkuInstExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmProdSkuInst record);

    int insertSelective(PmProdSkuInst record);

    List<PmProdSkuInst> selectByExample(PmProdSkuInstExample example);

    PmProdSkuInst selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmProdSkuInst record, @Param("example") PmProdSkuInstExample example);

    int updateByExample(@Param("record") PmProdSkuInst record, @Param("example") PmProdSkuInstExample example);

    int updateByPrimaryKeySelective(PmProdSkuInst record);

    int updateByPrimaryKey(PmProdSkuInst record);

    PmProdSkuInst getLowPrice(Map searchMap);
}